/**
 * 
 */
package kr.co.insoft.driver.amazon.model;

import kr.co.insoft.driver.model.SecurityModel;

import com.amazonaws.services.ec2.model.SecurityGroup;

/**
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 * 
 */
public class AmazonSecurityModel extends SecurityModel {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6807960468844570104L;
	
	public AmazonSecurityModel(SecurityGroup securityGroup) {
		setDescription(securityGroup.getDescription());
		setGroupId(securityGroup.getGroupId());
		setGroupName(securityGroup.getGroupName());
		setOwnerId(securityGroup.getOwnerId());
		setVpcId(securityGroup.getVpcId());
		setIpPermissions(securityGroup.getIpPermissions());
	}
}
